<!DOCTYPE html>
<html lang="UTF-8" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/font-awesome.min.css">
    <link rel="stylesheet" href="/css/main.css">
    <script type="text/javascript" src="/jquery/jquery-2.1.1.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/pagination.css">
    <script type="text/javascript" src="/script/jquery.pagination.js"></script>
</head>
<body>
<div th:replace="~{include-nav::nav}"></div>
<div class="container-fluid">
    <div class="row">
        <div th:replace="~{include-sidebar::sidebar}"></div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <ol class="breadcrumb">
        <li><a th:href="@{/admin/to/main/page.html}">首页</a></li>
        <li><a th:href="@{/admin/query/for/search}">数据列表</a></li>
        <li class="active">新增</li>
    </ol>
    <div class="panel panel-default">
        <div class="panel-heading">表单数据<div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i class="glyphicon glyphicon-question-sign"></i></div></div>
        <div class="panel-body">
            <form role="form" th:action="@{/admin/save}" method="post">
                <div class="form-group">
                    <label for="loginacct">登陆账号</label>
                    <input name="loginacct" type="text" class="form-control" id="loginacct" placeholder="请输入登陆账号">
                </div>

                <div class="form-group">
                    <label for="userpswd">登录密码</label>
                    <input name="userpswd" type="password" class="form-control" id="userpswd" placeholder="请输入登陆密码">
                </div>

                <div class="form-group">
                    <label for="username">用户名称</label>
                    <input name="username" type="text" class="form-control" id="username" placeholder="请输入用户名称">
                </div>
                <div class="form-group">
                    <label for="email">邮箱地址</label>
                    <input name="email" type="email" class="form-control" id="email" placeholder="请输入邮箱地址">
                    <p class="help-block label label-warning">请输入合法的邮箱地址, 格式为： xxxx@xxxx.com</p>
                </div>
                <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-plus"></i> 新增</button>
                <button type="button" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置</button>
            </form>
        </div>
    </div>
</div>
</div>
</div>
</body>
</html>